#include <stdio.h>
#include <time.h>

main()
{
	unsigned char c;

	printf( "Hello world will exit in 10 seconds\n" );

	for( c = 10; c > 0; c-- )
	{
		printf( "Waiting %d seconds before exiting... ", c );
		fflush( stdout );
		sleep( 1 );
		printf( "\r" );
	}

	printf( "\n" );
}
